/* 头部导航 start */

.nav {
    width: 100vw;
    height: 40px;
    background-color: #333333;
}


.nav .content {
    /* background-color: aquamarine; */
    width: 1230px;
    height: 40px;
    margin: 0 auto;
}

.nav .content .left {
    float: left;
}

.nav .content .left li {
    display: inline-block;
}



.nav .content li a {
    line-height: 40px;
    text-decoration: none;
}

.nav .content li a:visited,
.nav .content li a:link {
    color: #B0B0B0;
}


.nav .content li a:hover {
    color: #FFFFFF;
}

.nav .content .right {
    float: right;
}


.nav .content .right li {
    display: inline-block;
}

/* 右侧的购物车 单独设置背景 */
.nav .content .right .cart {
    background-color: #424242;
    /* background-color: #c55252; */
    padding-left: 30px;
    position: relative;
}

/* .nav .content .right .cart:hover {

    background-color: white;

} */



.nav .content .right .cart .cart_detail {

    position: absolute;
    right: 0px;
    top: 40px;
    width: 200px;
    height: 80px;
    background-color: white;
    /* border: solid 0.3px grey; */
    display: none;
    box-shadow: 0 0 3px rgb(216, 210, 210);
    line-height: 80px;
    text-align: center;

}




.nav .content .split {
    padding: 0 10px;
}


/* 头部导航 end */




/* 搜索框 start */
.search {
    width: 1230px;
    height: 100px;
    /* background-color: aliceblue; */
    margin: 0 auto;
    display: flex;
}


.search .logo {
    width: 235px;
    /* background-color: #424242; */
    background: url('../imgs/logo-mi2.png') no-repeat;
    background-size: 70px;
    background-position: left center;
}

.search .cates {
    flex: 1;
    /* background-color: #c99494; */
    height: 100%;

}

.search .cates span {
    /* background-color: aqua; */
    line-height: 100px;
    padding: 0 10px;
}

.search .cates span a {
    color: #000000;
    /* font-size: 30px; */
    font-size: 1.3em;
}

.search .cates span a:hover {
    color: orange;

}

/* css中使用变量 */

.search .searchWrap {
    --size: 60px;
    width: 300px;
    /* background-color: #a18f8f; */
    display: flex;
    justify-content: center;
    align-items: center;

}

.search .searchWrap input {
    width: 50%;
    height: var(--size);
    border: solid 1px rgb(197, 194, 194);
}

.search .searchWrap span {
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px rgb(199, 195, 195);
    color: gray;
}

.search .searchWrap span:hover {
    background-color: #FF6700;
    color: white;
    cursor: pointer;
}

/* 搜索框 end */





/* 轮播图 start  */

.home-hero-sub {

    width: 1230px;
    height: 460px;
    background-color: #FF6700;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 5px black;

}

.home-hero-sub .cate_list {
    width: 235px;
    height: 100%;
    background-color: rgba(77, 76, 76, 0.3);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}

.home-hero-sub .cate_list ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}


.home-hero-sub .cate_list ul li {
    display: flex;
    height: 40px;
    justify-content: center;
}

.home-hero-sub .cate_list ul li:hover {
    background-color: orangered;
}


.home-hero-sub .cate_list a {
    display: inline-block;
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    color: rgb(255, 255, 255);

}

.home-hero-sub .cate_list ul li span {
    width: 30px;
    height: 40px;
    line-height: 40px;
    /* background-color: #333333; */
    color: white;
}


.home-hero-sub .cate_list .cate_detail_wrap {

    display: none;


}


.home-hero-sub .cate_list .cate_detail {
    position: absolute;
    top: 0;
    left: 235px;
    min-width: 500px;
    height: 460px;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;

}

.home-hero-sub .cate_list .cate_detail .product {
    width: 230px;
    height: 80px;
    margin: 5px 10px;
    background-color: #FF6700;

}



/* 轮播图的具体容器 */
.home-hero-sub .swiper {
    width: 100%;
    height: 100%;
    /* background-color: rgb(147, 147, 228); */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 888;
    position: relative;
}

.home-hero-sub .swiper .swiperitem {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* .home-hero-sub .swiper .swiperitem:first-child {
    opacity: 1;
} */

.home-hero-sub .swiper .change {
    width: 35px;
    height: 70px;
    /* background-color: rgba(245, 35, 35, 0.932); */
    position: absolute;
    top: 195px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero-sub .swiper .change:hover {
    background-color: rgba(0, 0, 0, 0.4);

}

.home-hero-sub .swiper .changeleft {
    left: 235px;
}

.home-hero-sub .swiper .changeleft .flag {

    border: solid 2px white;
    width: 20px;
    height: 20px;
    border-top: none;
    border-right: none;
    transform: rotate(45deg);
}

.home-hero-sub .swiper .changeleft .flag:hover {

    border: solid 3px white;
    width: 20px;
    height: 20px;
    border-top: none;
    border-right: none;
    transform: rotate(45deg);
}

.home-hero-sub .swiper .changeright .flag {
    border: solid 2px white;
    width: 20px;
    height: 20px;
    border-top: none;
    border-left: none;
    transform: rotate(0.88turn);
}


.home-hero-sub .swiper .changeright .flag:hover {
    border: solid 3px white;
    width: 20px;
    height: 20px;
    border-top: none;
    border-left: none;
    transform: rotate(0.88turn);
}


.home-hero-sub .swiper .changeright {
    right: 3px;
}



/* 轮播图的逗点 */
.home-hero-sub .dots {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 999999;


}

.home-hero-sub .dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 1);
    border: solid 3px #747479;
    border-radius: 50%;
    cursor: pointer;
}


.home-hero-sub .dots span:hover,
.home-hero-sub .dots .active {
    background-color: rgba(255, 255, 255, 1);
}


/* 轮播图 end   */




/* home-hero-sub2  推荐商品   start */
.home-hero-sub2 {
    width: 1230px;
    height: 170px;
    margin: 10px auto;
    /* background-color: antiquewhite; */
    display: flex;
    justify-content: space-between;
}

.home-hero-sub2 .item {
    height: 170px;
}

.home-hero-sub2 .item1 {
    width: 235px;
}

.home-hero-sub2 .item1 {
    width: 235px;
    background-color: #5f5750;
    display: flex;
    flex-wrap: wrap;
    color: rgb(214, 208, 208);
    font-size: 1.2em;
}


.home-hero-sub2 .item1 .block {
    width: 33%;
    height: 50%;
    border: dashed 0.5px grey;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.home-hero-sub2 .item1 .block .fa {
    font-size: 1.3em;
}

.home-hero-sub2 .item1 .block:hover {
    color: white;
}

.home-hero-sub2 .item2,
.home-hero-sub2 .item3,
.home-hero-sub2 .item4 {
    width: 315px;
    background-color: gray;
}


.home-hero-sub2 .item img {
    width: 100%;
    height: 100%;
}


/* home-hero-sub2  推荐商品   end */






/* recommended_product_container   推荐商品 容器 start  */

.recommended_product_container {


    background-color: #F5F5F5;

    padding-bottom: 50px;

}

/* recommended_product_container   推荐商品 容器 end  */



/* 热销商品 倒计时  hot_commodity  start  */
.recommended_product_container .hot_commodity {

    width: 1230px;
    height: 200px;
    margin: 0 auto;

}

.recommended_product_container .hot_commodity span {
    text-align: center;
    line-height: 50px;
    font-size: 20px;
}


.recommended_product_container .hot_commodity .num {

    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #605751;
    vertical-align: top;


}

.recommended_product_container .hot_commodity .split {
    display: inline-block;
    width: 20px;
    height: 50px;
    background-color: #c7865b;
    vertical-align: top;
    padding-left: 10px;
}

/* 热销商品 倒计时  hot_commodity  end */





/* recommended_product_phone 推荐商品-- 手机的start */

.recommended_product_container .recommended_product_phone {
    width: 1230px;
    height: 705px;
    margin: 50px auto;
    padding-top: 20px;
}


.recommended_product_phone .title {
    height: 70px;
    line-height: 70px;
}

.recommended_product_phone .title .l {
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    font-size: 22px;
    color: rgb(51, 51, 51);
}

.recommended_product_phone .title .r {
    font-size: 18px;
    color: rgb(51, 51, 51);
}


.recommended_product_phone .title .tabs {
    display: flex;

}

/* .recommended_product_phone .title .tabs .tab {
    padding: 0 10px;

}*/

/* .recommended_product_phone .title .tabs .active {
    border-bottom: solid 1px red;
} */

.recommended_product_phone .product {
    display: flex;

}

.recommended_product_phone .product .bigproduct {
    height: 660px;
    width: 240px;
    /* border: solid 1px red; */

}

.recommended_product_phone .product .bigproduct img {
    width: 100%;
    height: 100%;
}


.recommended_product_phone .product .bigproduct:hover {

    position: relative;
    top: -2px;
    box-shadow: 0 0 20px rgb(199, 197, 197);


}



.recommended_product_phone .product .productitems {
    height: 660px;
    width: 990px;
    /* border: solid 1px red; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-between;
}

.recommended_product_phone .product .productitems .item {

    width: 23%;
    height: calc(50% - 20px);
    /* background-color: aquamarine; */
    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: white;
    cursor: pointer;


}

.recommended_product_phone .product .productitems .item:hover {

    position: relative;
    top: -2px;
    box-shadow: 0 0 20px rgb(199, 197, 197);


}


.recommended_product_phone .product .productitems .item .pic {
    width: 100%;
    height: 170px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.recommended_product_phone .product .productitems .item .pic img {
    width: 80%;
    height: 90%;
}


.recommended_product_phone .product .productitems .item .ac {
    text-align: center;
}

.recommended_product_phone .product .productitems .item .name {
    font-size: 1.6em;
}

.recommended_product_phone .product .productitems .item .desc {
    color: #B0B0B0;
    font-size: 1.2em;


    text-wrap: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    padding: 0 3px;



}


.recommended_product_phone .product .productitems .item .price {

    margin-top: 5px;
    font-size: 1.2em;

}

.recommended_product_phone .product .productitems .item .price span:first-child {
    color: orange;
    font-weight: 700;
}

.recommended_product_phone .product .productitems .item .price span:last-child {
    color: #B0B0B0;
    text-decoration: line-through;
}

/* .recommended_product_phone .title .flag:hover */


/* recommended_product_phone 推荐商品-- 手机的end  */